package com.future.controller;

import com.future.system.UserDO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("system/user")
@RestController
public class UserController {

    @PostMapping
    @RequestMapping("/login")
    public Object login(@RequestBody UserDO user) {

        return user;
    }

}
